const Actions = {
    SET_IS_ROOM_HOST:'SET_IS_ROOM_HOST',
    SET_CONNECT_ONLY_WITH_AUDIO:'SET_CONNECT_ONLY_WITH_AUDIO',
    SET_ROOM_ID:'SET_ROOM_ID',
    SET_IDENTITY:'SET_IDENTITY',
    SET_SHOWOVERLAY:'SET_SHOWOVERLAY',
    SET_PARTICIPANTS:'SET_PARTICIPANTS',
};
export const setRoomId = (roomId) => {
    return {
        type:Actions.SET_ROOM_ID,
        roomId:roomId,
    }
}
export const setIdentity = (identity) => {
    return {
        type:Actions.SET_IDENTITY,
        identity:identity,
    }
}
export const setConnectOnlyWithAudio = (connectOnlyWithAudio) => {
    return {
        type:Actions.SET_CONNECT_ONLY_WITH_AUDIO,
        connectOnlyWithAudio:connectOnlyWithAudio,
    }
}
export const setIsRoomHost = (isRoomHost) => {
    return {
        type:Actions.SET_IS_ROOM_HOST,
        isRoomHost:isRoomHost
    }
}
export const setShowOverlay = (showOverlay) => {
    return {
        type:Actions.SET_SHOWOVERLAY,
        showOverlay:showOverlay
    }
}
export const setParticipants = (participants) => {
    return {
        type:Actions.SET_PARTICIPANTS,
        participants:participants
    }
}
export default Actions;